/**
 * @Author luof
 * @Date 2024/4/28 10:58
 * @Description:
 */
import serverAxios from "../untils/request.js";

/**
 * 主机地址
 * @type {string}
 */
export const API_BASE_URL = "http://localhost:9000"

/**
 * 文件上传地址
 * @type {string}
 */
export const uploadFile = API_BASE_URL + '/admin/system/upload'

/**
 * 文件上传接口
 * @returns {*}
 */
export function reqImageUpload(data) {
    return serverAxios({
        method: 'post', url: uploadFile,data
    })
}